package com.main.ui.model;

import org.codehaus.jackson.map.annotate.JsonSerialize;

/**
 * Person Bean
 * 
 * @author tbal
 *
 */
public class Person {

	@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
    protected Long id;
	private String firstName;
	private String lastName;
	private int age;
	private String gender;

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getGender() {
		return gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	@Override
	public String toString() {
		return "Person [firstName=" + firstName + ", lastName=" + lastName
				+ "]";
	}
}
